home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
referenc
/
windll
/
winapi.msg
< prev
next >
Wrap
INI File
|
1991-12-31
|
6KB
|
230 lines
[MESSAGES]
MSG1=CB_FINDSTRING
MSG2=CB_GETCURSEL
MSG3=CB_INSERTSTRING
MSG4=CB_LIMITTEXT
MSG5=CB_RESETCONTENT
MSG6=CB_SELECTSTRING
MSG7=CB_SETCURSEL
MSG8=CB_SHOWDROPDOWN
MSG9=EM_CANUNDO
MSG10=EM_EMPTYUNDOBUFFER
MSG11=EM_GETMODIFY
MSG12=EM_LIMITTEXT
MSG13=EM_UNDO
MSG14=LB_FINDSTRING
MSG15=LB_GETCURSEL
MSG16=LB_GETSEL
MSG17=LB_GETTOPINDEX
MSG18=LB_INSERTSTRING
MSG19=LB_RESETCONTENT
MSG20=LB_SELECTSTRING
MSG21=LB_SETCURSEL
MSG22=LB_SETTOPINDEX
MSG23=WM_TIMECHANGE
MSG24=WM_UNDO
MSG25=WM_WININICHANGE
[CB_FINDSTRING]
Value=1036
Descript=Finds first string in list box with given prefix string.
Remark=Apparently only works with Style #2.
wParam=specifies where (index number) to begin searching rest of list.
lParam=contains prefix string
Return=Index number of matching item or -1 (CB_ERR) if unsuccessful.
[CB_GETCURSEL]
Value=1031
Descript=Returns index of currently selected item in combo box list.
Remark=Apparently only works on Style #2.
wParam=Not Used.
lParam=Not Used.
Return=Index of selected item or -1 (CB_ERR) if no item is selected.
[CB_INSERTSTRING]
Value=1034
Descript=Inserts string to the list box, ignores sorting.
Remark=Apparently only works on style #2.
wParam=Index value for inserted string.
lParam=lpointer to string to be sorted.
Return=length of inserted string, -1 (CB_ERR)invalid index number, -2 (CB_ERRSPACE) insufficient space.
[CB_LIMITTEXT]
Value=1045
Descript=Limits length of text allowed in Combo Box edit control.
Remark=CB_LIMITTEXT = 1025 but VB requires we use EM_LIMITTEXT value 1045.
wParam=Max number of bytes allowed.
lParam=Not Used.
Return=1 successful,0 failed, -1 (CB_ERR) if non edit control available.
[CB_RESETCONTENT]
Value=1035
Descript=Removes all strings from a Combo Box list.
Remark=Apparently works only on style #2.
wParam=Not Used.
lParam=Not Used.
Return=Not Used.
[CB_SELECTSTRING]
Value=1036
Descript=Selects first string in list box that matches a prefix string.
Remark= Apparently will only work with Style #2.
wParam=Index of list, where search is to begin.
lParam=lpointer to prefix string.
Return=Index of string if found. -1 (CB_ERR) if unsuccessfull.
[CB_SETCURSEL]
Value=1038
Descript=Selects string in List box AND scrolls it into view.
Remark=Apparently works only on style #2.
wParam=Index of string to be selected, -1 sets list box to no selection.
lParam=Not Used.
Return=-1 (CB_ERR) if wParam is invalid.
[CB_SHOWDROPDOWN]
Value=1039
Descript=Force display of a Combo Box List.
Remark=Apparently works only on style #2.
wParam=1 (True) displays list, 0 (False) hides list.
lParam=Not Used.
Return=Not Used.
[EM_CANUNDO]
Value=1046
Descript=Determines if a edit cantrol can respond to EM_UNDO.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=0 CAN NOT respond to EM_UNDO, otherwise it can.
[EM_EMPTYUNDOBUFFER]
Value=1053
Descript=Clears edit controls undo buffer, disables UNDO operations.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Not Used.
[EM_GETMODIFY]
Value=1032
Descript=Used to determine if User has modified text in an edit control.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Value of current modify flag.
[EM_LIMITTEXT]
Value=1045
Descript=Limits length of text user may enter in an edit control.
Remark=
wParam=Max number of bytes allowed.
lParam=Not Used.
Return=Not Used.
[EM_UNDO]
Value=1047
Descript=Undo last changes to an edit control.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=0 if failed, otherwise successful.
[LB_FINDSTRING]
Value=1040
Descript=Finds first matching string in a list box for a given prefix string.
Remark=
wParam=Index for first Item to begin searching after.
lParam=lpointer to prefix string.
Return=Index of located string if successful, -1 (LB_ERR) if not found.
[LB_GETCURSEL]
Value=1033
Descript=Returns index of currently selected item in List Box.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Index of selected item, -1 (LB_ERR) if no item selected or mulitple select list box.
[LB_GETSEL]
Value=1032
Descript=Returns selection state of a given item in a List Box.
Remark=
wParam=Index for item in List Box.
lParam=Not Used.
Return=0 if not selected, >0 if selected, -1(LB_ERR) error in execution.
[LB_GETTOPINDEX]
Value=1039
Descript=Returns Index number for first string visible in a List Box.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Index of first visible item in List Box.
[LB_INSERTSTRING]
Value=1026
Descript=Inserts string to List Box with out sorting.
Remark=
wParam=Index position of new string, -1 if end of list.
lParam=lpointer to string to be inserted.
Return=Index of insert position if successful, -1 (LB_ERR) if failed, -2 (LB_ERRSPACE) insufficient space.
[LB_RESETCONTENT]
Value=1029
Descript=Removes all strings from a List Box.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Not Used.
[LB_SELECTSTRING]
Value=1037
Descript=Searches List Box for string matching a given prefix string.
Remark=
wParam=Index where to begin search after in List Box, -1 top of list box.
lParam=lPointer to prefix string to use for search.
Return=Index of selected string, -1 (LB_ERR) if not located.
[LB_SETCURSEL]
Value=1031
Descript=Selects string in List Box AND scrolls it into view.
Remark=
wParam=Index of string to be selected.
lParam=Not Used.
Return=-1 (LB_ERR) if not successful.
[LB_SETTOPINDEX]
Value=1048
Descript=Set Index to first visible string in a List Box.
Remark=
wParam=Index for first visible item.
lParam=Not Used.
Return=-1 (LB_ERR) if unsuccessful.
[WM_TIMECHANGE]
Value=1054
Descript=Notify of change of system time, set hWnd to OxFFFF (65535) for all Top Level Win Apps.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Not Used.
[WM_UNDO]
Value=772
Descript=Undo the last operation.
Remark=
wParam=Not Used.
lParam=Not Used.
Return=Not Used.
[WM_WININICHANGE]
Value=26
Descript=Notify of changes made to WIN.INI file. Set hWnd to 0xFFFF (65535) for all top level Win Apps.
Remark=
wParam=Not Used.
lParam=lpointer to string containing name of section modified, string DOES NOT have square brackets.
Return=Not Used.